# Maintainer:  John Butera <john@jbutera.net>

pkgname=(man-pages-posix)
_srcver=2013-a
pkgver=2013_a
pkgrel=1
pkgdesc="POSIX Manual Pages"
arch=('any')
license=("custom:posix")
url="https://www.kernel.org/doc/man-pages"
depends=(man)
source=("https://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/man-pages-posix-${_srcver}.tar.xz")
sha1sums=('91b5b10a7a596615789782dad0adb477a8bf9f84')

prepare() {
	cd "$srcdir/$pkgname-$_srcver"
}

build() {
	cd "$srcdir/$pkgname-$_srcver"
	make gz
}

package() {
	cd "$srcdir/$pkgname-$_srcver"
	make install DESTDIR=${pkgdir}
}
